<?xml version="1.0" encoding="UTF-8" ?>
<% include '/common/header.gtpl' %>

<h1>Details zur Gästeliste</h1>

<% include '/common/message.gtpl' %>
Die Details zur Hochzeit sind nur für das <i>Brautpaar</i> einsehbar.
<br/><br/>
<table class="gdetails">
	<thead>
		<tr>
			<th></th>
			<th class="gdetails center">Zusagen</th>
			<th class="gdetails center">Absagen</th>
			<th class="gdetails center">Unbekannt</th>
			<th class="gdetails center">Insgesamt</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td class="row1">Gäste</td>
			<td class="gdetails center">${request.zusage}</td>
			<td class="gdetails center">${request.absage}</td>
			<td class="gdetails center">${request.unbekannt}</td>
			<td class="gdetails center">${request.size}</td>
		</tr>
		<tr>
			<td class="row1">Begleitungen</td>
			<td class="gdetails center">${request.zusagea}</td>
			<td class="gdetails center">${request.absagea}</td>
			<td class="gdetails center">${request.unbekannta}</td>
			<td class="gdetails center">${request.asize}</td>
		</tr>
		<tr>
			<td class="row1">Kinder</td>
			<td class="gdetails center">${request.zusagek}</td>
			<td class="gdetails center">${request.absagek}</td>
			<td class="gdetails center">${request.unbekanntk}</td>
			<td class="gdetails center">${request.ksize}</td>
		</tr>
		<tr>
			<td colspan="5"><hr/></td>
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<td class="row1">Summe</td>
			<td class="zusage gdetails center">
				<% def summe = request.zusage + request.zusagea + request.zusagek %>
				${summe}
			</td>
			<td class="absage gdetails center">
				<% def summe1 = request.absage + request.absagea + request.absagek %>
				${summe1}
			</td>
			<td class="unbekannt gdetails center">
				<% def summe2 = request.unbekannt + request.unbekannta + request.unbekanntk %>
				${summe2}
			</td>
			<td class="gesamt gdetails center">
				<% def summe3 = request.size + request.asize + request.ksize %>
				${summe3}
			</td>
		</tr>
	</tfoot>
</table>

<br/>
<br/>
<hr/>
<br/>
<br/>
Die Gästeliste kann mit den folgenden Details als E-Mail versendet werden.
<br/>
Dabei wird die hier im Portal gespeicherte E-Mail Adresse verwendet. Diese ist unter 
<a title="Kontaktdaten" href="/peinstellungenk">Meine Daten / Kontaktdaten</a> einseh- und veränderbar.
<form action="/gaeste/sendlist" method="post">
<table class="sendetable">
	<tr>
		<td class="bold">Vorname</td>
		<td>
			<input class="sendcheck" name="vorname" type="checkbox" checked="checked" disabled="disabled" />
		</td>
	</tr>
	<tr>
		<td class="bold">Nachname</td>
		<td>
			<input class="sendcheck" name="nachname" type="checkbox" checked="checked" disabled="disabled" />
		</td>
	</tr>
	<tr>
		<td class="bold">Adresse</td>
		<td>
			<input class="sendcheck" type="checkbox" name="adresse" checked="checked" />
		</td>
	</tr>
	<tr>
		<td class="bold">Telefon</td>
		<td>
			<input class="sendcheck" type="checkbox" name="telefon" />
		</td>
	</tr>
	<tr>
		<td class="bold">Handy</td>
		<td>
			<input class="sendcheck" type="checkbox" name="handy" />
		</td>
	</tr>
	<tr>
		<td class="bold">E-Mail</td>
		<td>
			<input class="sendcheck" type="checkbox" name="email" />
		</td>
	</tr>
	<tr>
		<td class="bold">Anhang</td>
		<td>
			<input class="sendcheck" type="checkbox" name="anhang" />
		</td>
	</tr>
	<tr>
		<td class="bold">Kinder</td>
		<td>
			<input class="sendcheck" type="checkbox" name="kind" />
		</td>
	</tr>
	<tr>
		<td class="bold">Anmerkung</td>
		<td>
			<input class="sendcheck" type="checkbox" name="anmerkung" />
		</td>
	</tr>
	<tr>
		<td class="bold">Zusage</td>
		<td>
			<input class="sendcheck" type="checkbox" name="zusage" />
		</td>
	</tr>
	<tr>
		<td class="bold">Kategorie</td>
		<td>
			<input class="sendcheck" type="checkbox" name="kategorie" />
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<input class="buttonlogingr" type="submit" value="Als E-Mail zusenden" />
		</td>
	</tr>
</table>
</form>
<% include '/common/footer.gtpl' %>

